<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
<%@ include file="/public/pathvariable.jsp" %>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>标签配置</title>
		<link rel="stylesheet" href="<%=basePath %>css/style.css">
		<link rel="stylesheet" href="<%=basePath %>css/ui_base.css">
		<link rel="stylesheet" href="<%=basePath %>css/d_msg.css">
		<link rel="stylesheet" href="<%=basePath %>css/public.css">

	</head>

	<body>
		<!--抬头bar-->
		<jsp:include page="/public/header.jsp" />
		<div class="main w clearfix">
			<div class="posr2">
				<div class="path_">
					<a href="<%=basePath %>index.jsp">主页</a> > <a href="<%=basePath %>config/index.jsp?parId=3">配置管理</a> > <a href="<%=basePath %>config/tagConfig.jsp?parId=301">标签配置</a>
				</div>
				<div class="key">

					<div class="key_table fl" style="width:580px; overflow:auto; max-height: 580px;">
						<div class="report_btn">
							<span id="taptype_add" class="ui_btn yellow">新增</span>
						</div>
						<!--<input type="hidden" id="tapcode" />-->
						<!--<input  id="taptype" />-->
						<div class="title">标签类别数据</div>
						<table width="100%" border="0" cellspacing="1" cellpadding="0" class="ktab" id="selectTapType">
							<tr class="th">
								<th width="300">标签</th>
								<th>操作</th>
							</tr>
						</table>
					</div>

					<div class="key_table fr" style="width:580px;">
						<div class="report_btn">
							<span id="typevalue_add" class="ui_btn yellow">新增</span>
						</div>
						<input type="hidden" id="tapcode" />
						<div class="title">标签值数据</div>
						<table width="100%" border="0" cellspacing="1" cellpadding="0" class="ktab" id="selectDicList">
							<tr class="th">
								<th width="300">标签</th>
								<th>操作</th>
							</tr>
							<tr class="td">
								<td colspan="5">没有选择左边标签类别数据，请点击左边操作！</td>
							</tr>
						</table>
						<div id="CustomsAreaList" class="autoYHidden CustomsAreaList" style="max-height:260px;border-bottom:1px solid #ddd;width:90%;margin:0 auto;"></div>
					</div>
				</div>
			</div>
		</div>
		
		<div class="taptype_layer">
			<i class="closeBtn"></i>
			<div class="tit">
				标签类别新增
			</div>
			<div class="layerfrom formular validationEngineContainer" id="tapTypeAddArea">
				<fieldset >
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lftab">
						<tr>
							<td class="name">标签类别</td>
							<td>
								<input type="text" class="ui_text w240 clearFormInput" id="tapTypeAdd" data-validation-engine="validate[required,maxSize[10]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！">
							</td>
						</tr>
					</table>
				</fieldset>
				
			</div>
			<div class="kl_submit">
				<span class="ui_btn yellow" id="addTapTypeBtn">确定</span>
				<span class="ui_btn cancelLayer">取消</span>
			</div>
		</div>
		<div class="taptype_layerEdit">
			<i class="closeBtn"></i>
			<div class="tit">
				标签类别维护
			</div>
			<div class="layerfrom formular validationEngineContainer" id="tapTypeEditArea">
				<fieldset>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lftab">
						<!--<tr>
						<td class="name">字典类别</td>
						<td colspan="2" class="dictypeOutput"></td>
					</tr>-->
						<tr>
							<td class="name">标签类别</td>
							<td colspan="2">
								<input type="text" class="ui_text w240" id="tapTypeEdit" data-validation-engine="validate[required,maxSize[10]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！">
							</td>
						</tr>
					</table>				
				</fieldset>

			</div>
			<div class="kl_submit">
				<span class="ui_btn yellow" id="editTapTypeBtn">保存</span>
				<span class="ui_btn cancelLayer">关闭</span>
			</div>
		</div>
		
		<div class="tapvalue_layer">
			<i class="closeBtn"></i>
			<div class="tit">
				标签值新增
			</div>
			<div class="layerfrom formular validationEngineContainer" id="tapValueAddArea">
				<fieldset>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lftab">
						<!--<tr>
						<td class="name">字典类别</td>
						<td colspan="2" class="dictypeOutput"></td>
					</tr>-->
						<tr>
							<td class="name">标签值</td>
							<td colspan="2">
								<input type="text" class="ui_text w240" id="TagvalueAdd" data-validation-engine="validate[required,maxSize[10]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！">
							</td>
						</tr>
					</table>
				</fieldset>
			</div>
			<div class="kl_submit">
				<span class="ui_btn yellow" id="addTapValueBtn">确定</span>
				<span class="ui_btn cancelLayer">取消</span>
			</div>
		</div>
		<div class="tapvalue_layerEdit">
			<i class="closeBtn"></i>
			<div class="tit">
				标签值维护
			</div>
			<input type="hidden" id="tapValueCode">
			<input type="hidden" id="tapValueID">
			<div class="layerfrom formular validationEngineContainer" id="tapValueEditArea">
				<fieldset>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lftab">
					<!--<tr>
						<td class="name">字典类别</td>
						<td colspan="2" class="dictypeOutput"></td>
					</tr>-->
						<tr>
							<td class="name">标签值</td>
							<td colspan="2">
								<input type="text" class="ui_text w240" id="tapValueEdit" data-validation-engine="validate[required,maxSize[10]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！">
							</td>
						</tr>
					</table>				
				</fieldset>
			</div>
			<div class="kl_submit">
				<span class="ui_btn yellow" id="editTapValueBtn">保存</span>
				<span class="ui_btn cancelLayer">关闭</span>
			</div>
		</div>
		<!--<div class="dddd"></div>-->
		<script src="<%=basePath %>js/jquery.min.1.8.2.js"></script>
		<script src="<%=basePath %>js/layer/layer.min.js"></script>
		<script src="<%=basePath %>js/config.js"></script>
		<script src="<%=basePath %>js/f_paging.js"></script>
		<script src="<%=basePath %>js/f_index_left_menu_tree.js"></script>
		<script src="<%=basePath %>js/userSession.js"></script>
		
		<!--表单验证插件引入-->
		<link rel="stylesheet" href="<%=basePath %>js/Validation/css/validationEngine.jquery.css">
		<script src="<%=basePath %>js/Validation/js/jquery.validationEngine-zh_CN.js"></script>
		<script src="<%=basePath %>js/Validation/js/jquery.validationEngine.js"></script>
		<script type="text/javascript" src="<%=basePath %>config/js/tagConfig.js"></script>

	</body>
</html>